package com.jzr.open.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 护理标签表
 * </p>
 *
 * @author henry
 * @since 2019-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TCareLabel对象", description="护理标签表")
public class TCareLabel implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_care_label";
    public static final String Id_ = "id";
    public static final String LabelCode_ = "label_code";
    public static final String LabelName_ = "label_name";
    public static final String LabelType_ = "label_type";
    public static final String BgColor_ = "bg_color";
    public static final String FontColor_ = "font_color";
    public static final String DetailContent_ = "detail_content";
    public static final String Status_ = "status";
    public static final String Remark_ = "remark";
    public static final String Sort_ = "sort";
    public static final String UpdateTime_ = "update_time";
    public static final String UpdateBy_ = "update_by";
    public static final String IsDel_ = "is_del";


    @ApiModelProperty(value = "护理标签id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "标签名称")
    @TableField("label_code")
    private String labelCode;

    @ApiModelProperty(value = "标签名称")
    @TableField("label_name")
    private String labelName;

    @ApiModelProperty(value = "标签类型")
    @TableField("label_type")
    private Integer labelType;

    @ApiModelProperty(value = "背景颜色")
    @TableField("bg_color")
    private String bgColor;

    @ApiModelProperty(value = "字体颜色")
    @TableField("font_color")
    private String fontColor;

    @ApiModelProperty(value = "详细内容")
    @TableField("detail_content")
    private String detailContent;

    @ApiModelProperty(value = "状态1=有效，0=无效")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "删除标记")
    @TableField("is_del")
    private Boolean isDel;


}
